package com.come4loves.game.dataconfig.model;

import com.come4loves.core.dataconfig.ModelAdapter;
import com.come4loves.core.dataconfig.annotation.DataFile;
import com.come4loves.game.module.card.constant.CardType;

@DataFile(fileName = "PlayerDeckConfig")
public class PlayerDeckConfig implements ModelAdapter {
	
	/**
	 * 卡牌id
	 */
	private int id;
	
	/**
	 * 类型id
	 */
	private int cardtype;

	/**
	 * 等级
	 */
	private int cardid;
	

	@Override
	public void initialize() {
	}

	public int getId() {
		return id;
	}

	public int getCardtype() {
		return cardtype;
	}

	public int getCardid() {
		return cardid;
	}

	
	public CardType geCardType() {
		return CardType.geCardType(cardtype);
	}

	
}